/***
 * formSize(String):表单大小 small mini large
 * type(String):表单类型 text | select | date | checkbox | radio
 * inputType(String):input类型
 * label(String):字段名称
 * labelWidth(String):字段宽度 150px
 * placeholder(String):默认显示
 * isReadOnly(Bollean):是否只读
 * isDisabled(Bollean):是否禁止
 * ifCanChecked(Bollean):下拉框的option是否禁止
 * isRequired(Bollean):是否必填
 * unit(String):单位
 * optionList(Array):如果是下拉，复选，单选的数据源
 * keyName(String):有数据源的情况下，绑定的key字段名
 * valName(String):有数据源的情况下，绑定的label字段名
 * maxlength(Number):最大输入长度
 * colSpan(Number):占位符
 * isAppendRightBtn(Boolean):是否显示input右侧的按钮类型
 * appendRightBtnType(String):input右侧的按钮类型
 * appendRightBtnTxt(String):input右侧的按钮文字
 * bindFieldName(String):绑定后段字段名称
 * bindFieldVal(String):双向绑定绑定的具体值，一般用于readonly或者disabled的情况下直接赋值
 * buttonTxt(String):type为button时的按钮内容文字
 * influenceFiledName(String):二级联动赋值数据源所关联的select的后端字段->bindFieldName
 */

//无人设备合同的租赁信息
const wrsbLeasePlanFiledList = [{
    type: 'text',
    label: '无人设备描述',
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'deviceDesc',
  }, {
    type: 'text',
    label: '数量',
    inputType: "number",
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'deviceNum',
  }, {
    type: 'text',
    label: '大体面积',
    inputType: "number",
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'approximateArea',
  },
  {
    type: 'text',
    label: '单个日租金',
    inputType: "number",
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'singleRent',
  },
  {
    type: 'select',
    optionList: [],
    keyName: 'dictKey',
    valName: 'dictValue',
    label: '收款周期',
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'rentCollectionCycle',
  },
  {
    type: 'date',
    label: '首次收款时间',
    placeholder: '请选择',
    isRequired: true,
    colSpan: 8,
    bindFieldVal: "",
    bindFieldName: 'firstCollectionDate',
  }
  ]
  
  //临时场地合同的租赁信息
  const lscdLeasePlanFiledList = [{
  type: 'text',
  label: '事项描述',
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'itemDesc',
  }, {
  type: 'select',
  optionList: [],
  keyName: 'primaryKey',
  valName: 'partitionName',
  label: '区域',
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'rentArea',
  }, {
  type: 'select',
  optionList: [],
  keyName: 'targetKey',
  valName: 'name',
  label: '活动空间',
  isRequired: false,
  bindFieldVal: "",
  bindFieldName: 'venueKey',
  }, {
  type: 'text',
  label: '大体面积',
  unit: "㎡",
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'approximateArea',
  }, {
  type: 'text',
  label: '合同金额',
  maxlength:20,
  unit: "元",
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'contractAmount',
  }]
  
  //临时场地合同的收款计划
  const lscdGatheringPlanFiledList = [{
  type: 'date',
  label: '收款时间',
  placeholder: '请选择',
  isRequired: true,
  colSpan: 8,
  bindFieldVal: "",
  bindFieldName: 'fundsDate',
  }, {
  type: 'text',
  label: '预估收款金额',
  maxlength:20,
  unit: "元",
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'fundsAmount',
  }, {
  type: 'text',
  label: '收款说明',
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'fundsDesc',
  }]
  
  //其他收入合同的其他信息：
  const qtsrOtherPlanFiledList = [{
  type: 'text',
  label: '内容描述',
  isRequired: true,
  colSpan: 8,
  bindFieldVal: "",
  bindFieldName: 'contentDesc',
  }]
  
  //其他收入合同的付款计划：
  const qtsrPayPlanFiledList = [{
  type: 'date',
  label: '收款时间',
  placeholder: '请选择',
  isRequired: true,
  colSpan: 8,
  bindFieldVal: "",
  bindFieldName: 'fundsDate',
  }, {
  type: 'text',
  inputType: "number",
  label: '预估收款金额',
  maxlength:20,
  unit: "元",
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'fundsAmount',
  }, {
  type: 'select',
  optionList: [],
  keyName: 'chargeItemKey',
  valName: 'chargeItemAliasName',
  label: '费用项',//收费项
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'chargeItemKey',
  }, {
  type: 'text',
  label: '收款说明',
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'fundsDesc',
  }]
  
  //停车场代运营合同的其他信息：
  const tccdyyOtherPlanFiledList = [{
  type: 'select',
  optionList: [],
  keyName: 'primaryKey',
  valName: 'parkName',
  label: '停车场',
  isRequired: true,
  colSpan: 8,
  bindFieldVal: "",
  bindFieldName: 'carParkKey',
  }, {
  type: 'select',
  optionList: [{
    dictKey:"fixed",dictValue:"固定租金"
  },{
    dictKey:"share",dictValue:"分成租金"
  },{
    dictKey:"fixed_share",dictValue:"固定+分成"
  },{
    dictKey:"get_high",dictValue:"取高"
  }],
  keyName: 'dictKey',
  valName: 'dictValue',
  label: '租金模式',
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'rentMode',
  }, {
  type: 'text',
  inputType: "number",
  label: '租金金额',
  maxlength:20,
  unit: "元",
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'rentAmount',
  }, {
  type: 'text',
  inputType: "number",
  label: '分成比例',
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'shareProportion',
  }, {
  type: 'text',
  inputType: "number",
  label: '分成起点',
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'shareStartPoint',
  }]
  
  //停车场代运营合同的收款计划
  const tccdyyGatheringPlanFiledList = [{
  type: 'date',
  label: '收款时间',
  placeholder: '请选择',
  isRequired: true,
  colSpan: 8,
  bindFieldVal: "",
  bindFieldName: 'fundsDate',
  }, {
  type: 'text',
  inputType: "number",
  label: '预估收款金额',
  maxlength:20,
  unit: "元",
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'fundsAmount',
  }, {
  type: 'text',
  label: '收款说明',
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'fundsDesc',
  }]
  
  //支出合同
  const zchtPlanFiledList = [{
  type: 'date',
  label: '付款时间',
  placeholder: '请选择',
  isRequired: false,
  colSpan: 8,
  bindFieldVal: "",
  bindFieldName: 'fundsDate',
  }, {
  type: 'text',
  inputType: "number",
  label: '付款金额(含税)',
  maxlength:20,
  unit: "元",
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'fundsAmount',
  }, {
  type: 'text',
  label: '付款说明',
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'fundsDesc',
  },{
  type: 'select',
  optionList: [],
  keyName: 'chargeItemKey',
  valName: 'chargeItemAliasName',
  label: '费用项',//付费项
  placeholder: '请选择',
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'chargeItemKey',
  }]
  
  //框架类广告的广告位信息
  const ggwxxPlanFiledList = [{
    type: 'select',
    optionList: [],
    keyName: 'dictKey',
    valName: 'dictValue',
    label: '资产类型',
    placeholder: '请选择',
    isRequired: true,
    colSpan: 8,
    bindFieldVal: "",
    bindFieldName: 'deviceType',
  }, {
    type: 'select',
    optionList: [],
    keyName: 'primaryKey',
    valName: 'locationDesc',
    label: '选择广告位',
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'adKey',
    reasonObj: {
      filedName: "deviceType",
      filedVal: "2"
    }
  },{
    type: 'text',
    label: 'adType',
    bindFieldVal: "",
    bindFieldName: 'adType',
    reasonObj:{
      filedVal:"hide"
    }
  }, {
    type: 'text',
    inputType: "number",
    label: '广告数量',
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'adNum',
  }, {
    type: 'date',
    label: '起租时间',
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'rentStartDate',
  },
  {
    type: 'date',
    label: '结束时间',
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'rentEndDate',
  }, {
    type: 'text',
    label: '租期',
    placeholder: '自动计算',
    isReadOnly: true,
    bindFieldVal: "",
    bindFieldName: 'rentTerm',
  }, {
    type: 'text',
    inputType: "number",
    label: '合同金额',
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'contractAmount',
  }
  ]
  
  //支出合同
  const ggwxxGatherFiledList = [{
  type: 'date',
  label: '付款时间',
  placeholder: '请选择',
  isRequired: false,
  colSpan: 8,
  bindFieldVal: "",
  bindFieldName: 'fundsDate',
  }, {
  type: 'text',
  inputType: "number",
  label: '付款金额(含税)',
  maxlength:20,
  unit: "元",
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'fundsAmount',
  }, {
  type: 'text',
  label: '付款说明',
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'fundsDesc',
  },{
  type: 'select',
  optionList: [],
  keyName: 'chargeItemKey',
  valName: 'chargeItemAliasName',
  label: '费用项',//付费项
  placeholder: '请选择',
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'chargeItemKey',
  }]
  
  //租赁类合同的基本信息 -
  const leaseBasePlanFiledList = [{
    type: 'select',
    optionList: [],
    keyName: 'dictKey',
    valName: 'dictValue',
    label: '资产类型',
    placeholder: '请选择',
    isRequired: true,
    colSpan: 8,
    bindFieldVal: "",
    bindFieldName: 'deviceType',
  }, {
    type: 'text',
    label: '商铺名称',
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'leaserShopName',
  },  {
    type: 'select',
    optionList: [{
      dictKey: 1,
      dictValue: "是"
    }, {
      dictKey: 0,
      dictValue: "否"
    }],
    keyName: 'dictKey',
    valName: 'dictValue',
    label: '是否主力店',
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'ifMainStore',
  }, {
    type: 'select',
    optionList: [],
    keyName: 'primaryKey',
    valName: 'catalogName',
    label: '业态/行业类型',
    isRequired: false,
    bindFieldVal: "",
    bindFieldName: 'industryType',
  }, {
    type: 'select',
    optionList: [],
    keyName: 'primaryKey',
    valName: 'catalogName',
    label: '经营品牌',
    isRequired: false,
    bindFieldVal: "",
    bindFieldName: 'operateBrand',
  },
  {
    type: 'select',
    optionList: [{
      dictKey:"fixed",dictValue:"固定租金"
    },{
      dictKey:"share",dictValue:"分成租金"
    },{
      dictKey:"fixed_share",dictValue:"固定+分成"
    },{
      dictKey:"get_high",dictValue:"取高"
    }],
    keyName: 'dictKey',
    valName: 'dictValue',
    label: '租金模式',
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'rentMode',
  }, {
    type: 'date',
    label: '起租时间',
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'rentStartDate',
  }, {
    type: 'date',
    label: '结束时间',
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'rentEndDate',
  }, {
    type: 'text',
    label: '租期',
    placeholder: '自动计算',
    isReadOnly: true,
    bindFieldVal: "",
    bindFieldName: 'rentTerm',
  }, {
    type: 'text',
    inputType: "number",
    label: '押金金额',
    maxlength:20,
    unit: "元",
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'depositAmount',
  }, {
    type: 'date',
    label: '押金收款日',
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'depositPaymentDate',
  }, {
    type: 'date',
    label: '装修期开始时间',
    isRequired: false,
    bindFieldVal: "",
    bindFieldName: 'furnishTermStartDate',
  },{
    type: 'date',
    label: '装修期结束时间',
    isRequired: false,
    bindFieldVal: "",
    bindFieldName: 'furnishTermEndDate',
  },
  {
    type: 'date',
    label: '租金起收日',
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'rentFeeStartDate',
  }, {
    type: 'select',
    optionList: [],
    keyName: 'dictKey',
    valName: 'dictValue',
    label: '租金收款周期',
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'rentCollectionCycle',
  }, {
    type: 'text',
    inputType: "number",
    label: '租金递增周期',
    isRequired: false,
    unit:"月",
    bindFieldVal: "",
    bindFieldName: 'rentFeeIncrementalMethod',
  }, {
    type: 'text',
    inputType: "number",
    label: '租金递增百分比',
    isRequired: false,
    unit:"%",
    bindFieldVal: "",
    bindFieldName: 'rentFeeIncrementalPercent',
  }, {
    type: 'date',
    label: '管理费起收日',
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'managementFeeStartDate',
  }, {
    type: 'select',
    optionList: [],
    keyName: 'dictKey',
    valName: 'dictValue',
    label: '管理费收款周期',
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'managementFeeCycle',
  }, {
    type: 'text',
    inputType: "number",
    label: '管理费递增周期',
    unit: "月",
    isRequired: false,
    bindFieldVal: "",
    bindFieldName: 'managementFeeIncrementalMethod',
  }, {
    type: 'text',
    inputType: "number",
    label: '管理费递增百分比',
    unit: "%",
    isRequired: false,
    bindFieldVal: "",
    bindFieldName: 'managementFeeIncrementalPercent',
  }, {
    type: 'text',
    inputType: "number",
    label: '预计佣金费用',
    maxlength:20,
    unit: "元",
    isRequired: false,
    bindFieldVal: "",
    bindFieldName: 'estimatedCommission',
  }, {
    type: 'text',
    inputType: "number",
    label: '付款次数',
    isRequired: false,
    bindFieldVal: "",
    bindFieldName: 'paymentNum',
  }, {
    type: 'text',
    label: '付款频率',
    isRequired: false,
    bindFieldVal: "",
    bindFieldName: 'paymentFrequency',
  }, {
    type: 'date',
    label: '首次付款时间',
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'firstPaymentDate',
  }, {
    type: 'select',
    optionList: [
      { dictKey:"advance",dictValue:"上缴" },
      { dictKey:"after",dictValue:"下缴" }
    ],
    keyName: 'dictKey',
    valName: 'dictValue',
    label: '计缴费方案',
    isRequired: true,
    bindFieldVal: "",
    bindFieldName: 'paymentPlan',
  }
  ]
  
  //租赁类合同的资产信息 -
  const leaseAssetPlanFiledList = [{
  type: 'select',
  optionList: [],
  keyName: 'shopCode',
  valName: 'shopNumber',
  label: '选择商铺',
  placeholder: '请选择',
  isRequired: true,
  colSpan: 8,
  bindFieldVal: "",
  bindFieldName: 'shopCode',
  }, {
  type: 'text',
  label: 'shopKey',
  bindFieldVal: "",
  bindFieldName: 'shopKey',
  reasonObj:{
    filedVal:"hide"
  }
  }, {
  type: 'text',
  label: 'shopName',
  bindFieldVal: "",
  bindFieldName: 'shopName',
  reasonObj:{
    filedVal:"hide"
  }
  }, {
  type: 'text',
  inputType: "number",
  label: '预计首年租金',
  maxlength:20,
  unit: "元",
  isRequired: false,
  bindFieldVal: "",
  bindFieldName: 'firstYearRentFee',
  }, {
  type: 'text',
  inputType: "number",
  label: '首年租金单价',
  maxlength:20,
  unit: "元/天/㎡",
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'rentUnitPrice',
  }, {
  type: 'text',
  inputType: "number",
  label: '首年分成比例',
  unit: "%",
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'shareProportion',
  }, {
  type: 'text',
  inputType: "number",
  label: '首年管理费单价',
  maxlength:20,
  unit: "元/天/㎡",
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'managementUnitPrice',
  }, {
  type: 'text',
  inputType: "number",
  label: '预计首年管理费',
  maxlength:20,
  unit: "元",
  isRequired: false,
  bindFieldVal: "",
  bindFieldName: 'managementFee',
  }, {
  type: 'text',
  inputType: "number",
  label: '装修期租金',
  maxlength:20,
  unit: "元/天/㎡",
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'furnishTermRentPrice',
  }, {
  type: 'select',
  optionList: [],
  keyName: 'dictKey',
  valName: 'dictValue',
  label: '能耗分摊',
  isRequired: false,
  bindFieldVal: "",
  bindFieldName: 'energyShare',
  }]
  
  //租赁类合同的租赁成本 -
  const leaseCostPlanFiledList = [{
  type: 'select',
  optionList: [],
  keyName: 'dictKey',
  valName: 'dictValue',
  label: '成本类型',
  placeholder: '请选择',
  isRequired: true,
  colSpan: 8,
  bindFieldVal: "",
  bindFieldName: 'costType',
  }, {
  type: 'select',
  optionList: [{
    dictKey: "furnish",
    dictValue: "装修"
  }, {
    dictKey: "energy",
    dictValue: "能耗"
  }],
  keyName: 'dictKey',
  valName: 'dictValue',
  label: '补贴事项',
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'giveAwayItem',
  reasonObj: {
    filedName: "costType",
    filedVal: "1"
  }
  }, {
  type: 'text',
  inputType: "number",
  label: '补贴时长',
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'giveAwayNum',
  reasonObj: {
    filedName: "costType",
    filedVal: "1"
  }
  }, {
  type: 'date',
  label: '开始时间',
  placeholder: '请选择',
  isRequired: true,
  colSpan: 8,
  bindFieldVal: "",
  bindFieldName: 'startDate',
  reasonObj: {
    filedName: "costType",
    filedVal: "1"
  }
  }, {
  type: 'date',
  label: '结束时间',
  placeholder: '请选择',
  isRequired: true,
  colSpan: 8,
  bindFieldVal: "",
  bindFieldName: 'endDate',
  reasonObj: {
    filedName: "costType",
    filedVal: "1"
  }
  }, {
  type: 'date',
  label: '开始时间',
  placeholder: '请选择',
  isRequired: true,
  colSpan: 8,
  bindFieldVal: "",
  bindFieldName: 'startDate',
  reasonObj: {
    filedName: "costType",
    filedVal: "2"
  }
  }, {
  type: 'date',
  label: '结束时间',
  placeholder: '请选择',
  isRequired: true,
  colSpan: 8,
  bindFieldVal: "",
  bindFieldName: 'endDate',
  reasonObj: {
    filedName: "costType",
    filedVal: "2"
  }
  }, {
  type: 'select',
  optionList: [{
    dictKey: "ad",
    dictValue: "广告位"
  }, {
    dictKey: "park_space",
    dictValue: "停车位"
  }, {
    dictKey: "rent_space",
    dictValue: "可租赁空间"
  }],
  keyName: 'dictKey',
  valName: 'dictValue',
  label: '选择赠送',
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'giveAwayItem',
  reasonObj: {
    filedName: "costType",
    filedVal: "2"
  }
  }, {
  type: 'select',
  optionList: [],
  keyName: 'primaryKey',
  valName: 'locationDesc',
  label: '选择位置',
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'itemLocation',
  reasonObj: {
    filedName: "giveAwayItem",
    filedVal: "ad"
  }
  }, {
  type: 'select',
  optionList: [],
  keyName: 'primaryKey',
  valName: 'parkName',
  label: '选择位置',
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'itemLocation',
  reasonObj: {
    filedName: "giveAwayItem",
    filedVal: "park_space"
  }
  }, {
  type: 'select',
  optionList: [],
  keyName: 'primaryKey',
  valName: 'shopNumber',
  label: '选择位置',
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'itemLocation',
  reasonObj: {
    filedName: "giveAwayItem",
    filedVal: "rent_space"
  }
  }, {
  type: 'text',
  inputType: "number",
  label: '赠送数量',
  maxlength:20,
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'giveAwayNum',
  reasonObj: {
    filedName: "costType",
    filedVal: "2"
  }
  }, {
  type: 'text',
  inputType: "number",
  label: '预计佣金费用',
  maxlength:20,
  unit: "元",
  isRequired: false,
  bindFieldVal: "",
  bindFieldName: 'costAmount',
  reasonObj: {
    filedName: "costType",
    filedVal: "3"
  }
  }, {
  type: 'date',
  label: '付款时间',
  placeholder: '请选择',
  isRequired: false,
  colSpan: 8,
  bindFieldVal: "",
  bindFieldName: 'fundsDate',
  reasonObj: {
    filedName: "startDate",
    filedVal: "3"
  }
  }, {
  type: 'text',
  label: '说明',
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'fundsDesc',
  reasonObj: {
    filedName: "costDesc",
    filedVal: "3"
  }
  }, {
  type: 'text',
  inputType: "number",
  label: '成本金额',
  maxlength:20,
  unit: "元",
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'costAmount',
  reasonObj: {
    filedName: "costType",
    filedVal: "1"
  }
  }, {
  type: 'text',
  inputType: "number",
  label: '成本金额',
  maxlength:20,
  unit: "元",
  isRequired: true,
  bindFieldVal: "",
  bindFieldName: 'costAmount',
  reasonObj: {
    filedName: "costType",
    filedVal: "2"
  }
  }]
  
  export {
  wrsbLeasePlanFiledList,
  lscdLeasePlanFiledList,
  lscdGatheringPlanFiledList,
  qtsrOtherPlanFiledList,
  qtsrPayPlanFiledList,
  tccdyyOtherPlanFiledList,
  tccdyyGatheringPlanFiledList,
  zchtPlanFiledList,
  ggwxxPlanFiledList,
  leaseBasePlanFiledList,
  leaseAssetPlanFiledList,
  leaseCostPlanFiledList,
  ggwxxGatherFiledList
  }
  